package Logic;
import Dao.OperateDAO;
import Model.OperateBean;
 
//业务逻辑层
public class OperateLogic{    
    
    // 添加新的Operate
    public boolean addOperater(OperateBean operate){
        boolean result = false;
        try{
        	OperateDAO operatedao = new OperateDAO();
        	operatedao.insertOperate(operate);
            result = true;
        }catch (Exception e){
            e.getMessage();
            result = false;
        }
        return result;
    }  
}